package us.codecraft.jobhunter.dao;

import org.apache.ibatis.annotations.Insert;
import us.codecraft.jobhunter.model.LieTouJobInfo;

/**
 * @author 18042681971@163.com
 *         Date: 2016-04-03
 *         Time: 下午3:26
 */
public interface JobInfoDAO {

    @Insert("insert into JobInfo (`title`,`salary`,`company`,`requirement`,`source`,`url`,`industry`,`releasetime`,`workyears`,`companyscale`,`regionalinfo`)" +
            " values (#{title},#{salary},#{company},#{requirement},#{source},#{url},#{industry},#{releasetime},#{workyears},#{companyscale},#{regionalinfo})")
    public int add(LieTouJobInfo jobInfo);
}
